package com.beiyou.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.beiyou.entity.ImgsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author wzby
 * @Date: 2022/10/19 17:02
 */
@Mapper
public interface ImgsMapper extends BaseMapper<ImgsEntity> {

    //通过传统xml方式查询
    List<ImgsEntity> selectXml();

    //通过注解方式查询
    @Select("select *  from scm_tuku")
    List<ImgsEntity> select2();
}
